package ldkxingzhe.ldkxingzhedemo.others;

import android.app.Activity;
import android.os.Bundle;

import ldkxingzhe.ldkxingzhedemo.R;

/**
 * Created by ldkxingzhe on 2016/4/13.
 */
public class TestMaterialActivity extends Activity{
    private static final String TAG = "TestMaterialActivity";

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
    }

    private int dp2px(int dp){
        return (int) (getResources().getDisplayMetrics().density * dp);
    }
}